<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>美策平台</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="datepicker/jquery-ui.min.css">
    <link rel="stylesheet" type="text/css" href="css/app.css">
    <link rel="stylesheet" type="text/css" href="css/work.css">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="/pc/js/all.js"></script>
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
</head>
<body>
<!--
    制作者：九哥
    页面：订单页面
    时间：2019-05-20
-->





<!----------订单页面---------->
<div id="workPage">
    <div id="workTitle">
        我的工作
        <a href="javascript:;" class="title-more">应用中心</a>
    </div>
    <div style="height:35px"></div>
    <div class="notice">
        公告：
        <span>置顶公告会在这里通知！</span>
        <a href="javascript:;">更多公告</a>
    </div>
    <div class="work-body-title">
        人事统计
    </div>
    <div class="work-body">
        <div class="work-one">
            <div class="icon">0</div>
            <p>待我审批</p>
        </div>
        <div class="work-one">
            <div class="icon">0</div>
            <p>考勤统计</p>
        </div>
        <div class="work-one">
            <div class="icon">0</div>
            <p>未读日志</p>
        </div>
        <div class="work-one">
            <div class="icon">日</div>
            <p>日报</p>
        </div>
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>请假</p>
        </div>
    </div>
    <div class="work-hr"></div>
    <div class="work-body-title">
        我的工作
    </div>
    <div class="work-body">
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>？工作？</p>
        </div>
    </div>
    <div class="work-hr"></div>
    <div class="work-body-title">
        常用应用
    </div>
    <div class="work-body">
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>审批</p>
        </div>
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>签到</p>
        </div>
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>日志</p>
        </div>
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>报销</p>
        </div>
        <div class="work-one">
            <div class="icon">
                <img src="images/icon.png">
            </div>
            <p>报表</p>
        </div>
    </div>

    <!--更多功能，内部管理提示-->
    <div class="work-pop">
        <div class="mask"></div>
        <div class="detail">
            更多功能...
        </div>
    </div>
    <!--更多功能，内部管理提示-->

    <!--底部菜单-->
    <div style="height:60px"></div>
    <div id="footer">
        <button id="toHomePage">
            <img src="images/home_01.png">
            <p>首页</p>
        </button>
        <button id="toNewsPage">
            <img src="images/news_01.png">
            <p>资讯</p>
        </button>
        <button id="toOrderPage" style="display:none;">
            <img src="images/order_01.png">
            <p>订单</p>
        </button>
        <button id="toWorkPage">
            <img src="images/icon_logo.png">
            <p>工作</p>
        </button>
        <button id="toMessagePage">
            <img src="images/message_01.png">
            <p>消息</p>
        </button>
        <button id="toMysetPage">
            <img src="images/mine_01.png">
            <p>我的</p>
        </button>
    </div>
</div>
<!----------订单页面---------->





<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/orderPageChange.js"></script>
<script type="text/javascript" src="js/alertMsg.js"></script>
<script>
    (function(){
//        getAppErrMsg('功能待接入！','',0);
//        getWorks();
    })();
    /**
     * 菜单列表
     * */
    function getWorks(){
        var works = [
            {
                name: '原料物料',
                icon: 'icon'
            },
            {
                name: '生产线',
                icon: 'icon'
            },
            {
                name: '办公管理',
                icon: 'icon'
            },
            {
                name: '库存仓储',
                icon: 'icon'
            },
            {
                name: '工艺技工',
                icon: 'icon'
            },
            {
                name: '设备维修',
                icon: 'icon'
            },
            {
                name: '订单管理',
                icon: 'icon'
            },
            {
                name: 'HR人事',
                icon: 'icon'
            },
            {
                name: '物流管理',
                icon: 'icon'
            },
            {
                name: '财务管理',
                icon: 'icon'
            },
            {
                name: '报表管理',
                icon: 'icon'
            },
            {
                name: '考勤打卡',
                icon: 'icon'
            },
        ];
        var i, h = '';
        for (i=0;i<works.length;i++) {
            h += '<div class="work-one">';
            h += '<div class="icon">';
            h += '<img src="images/'+works[i].icon+'.png">';
            h += '</div>';
            h += '<p>'+works[i].name+'</p>';
            h += '</div>';
        }
        $('.work2').html(h);
    }
</script>
</html>